package com.apes.scm.masterdata.area.repository;

import com.apes.framework.jpa.repository.CustomRepository;
import com.apes.scm.masterdata.area.model.Country;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;

/**
 * @author HuJianlin
 * @create 2018-03-05 11:04
 */
public interface CountryRepository extends CustomRepository<Country, String> {
    @Query("SELECT T FROM Country T WHERE 1 = 1")
    Page<Country> find(Pageable pageable);

}
